# import requests
#
# url = 'https://www.lagou.com/jobs/positionAjax.json?needAddtionalResult=false'
# headers = {
#     'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36',
#     'Referer': 'https://www.lagou.com/jobs/list_python?city=%E5%85%A8%E5%9B%BD&cl=false&fromSearch=true&labelWords=&suginput='
# }
# data1 = dict(first='true', pn='1', kd='python')
# print(data1)
#
# response = requests.post(url, data=data1, headers=headers)
# response.encoding = 'utf-8'
# print(response.text)


import os

path = os.path.dirname(__file__)
print(path)